package k2_oop.p9_collection.demo04;

public class UseTypeSubInterface implements UseTypeInterface<Integer,String> {

    public static void main(String[] args) {
        UseTypeInterface type = new UseTypeSubInterface();
        System.out.println(type.test4("hello"));
    }

    @Override
    public void test1() {

    }

    @Override
    public void test2(Integer integer) {

    }

    @Override
    public Integer test3(Integer integer) {
        return 0;
    }

    @Override
    public String test4(Integer r) {
        return "";
    }
}
